<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover" />
    <title>本月业绩</title>
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="stylesheet" href="/addons/jquery-weui-build/css/weui.min.css">
    <link rel="stylesheet" href="/addons/jquery-weui-build/css/jquery-weui.css">
    <link rel="stylesheet" href="/css/system/front-iconfont.css?v={{time()}}">
    @if($skinid == 3)
        <link rel="stylesheet" href="/css/system/common.css">
        <link rel="stylesheet" href="/css/system/detail-performance.css?v={{time()}}">
    @elseif($skinid == 1)
        <link rel="stylesheet" href="/css/theme-blue/system/common.css">
        <link rel="stylesheet" href="/css/theme-blue/system/detail-performance.css?v={{time()}}">
    @elseif($skinid == 2)
        <link rel="stylesheet" href="/css/theme-pink/system/iconfont-pink.css">
        <link rel="stylesheet" href="/css/theme-pink/system/common.css">
        <link rel="stylesheet" href="/css/theme-pink/system/detail-performance.css?v={{time()}}">
    @endif
    <style>
        body{
            background: #fff;
        }
    </style>
</head>
<body ontouchstart>
<div class="index-review">
    <div class="header-bk">
        <div class="con-head">
            <img src="{{userlogo($user->id)}}"><span class="user-name">{{$user->qw_name}}</span>
        </div>
        <div class="list-content">
            <p><span class="span-circle"></span><span class="span-num">{{$year_param}}年</span></p>
            <p><span class="span-circle"></span>业绩平均<span class="span-num">{{$average}}</span></p>
        </div>
    </div>
    <div class="list-con">

        @foreach($Achievements as $value)
        <div class="perform-require">
            <p class="p-title">{{$value->name}}({{$value->month_param}})</p>
            <p class="p-content">
                本月指标{{$value->standard}}，本月得分{{$value->score or 0}}。
            </p>
        </div>
        @endforeach
     {{--   <div class="complete-require">
            <p class="p-title">2018-04业绩要求</p>
            <p class="p-content">
                本月销售要求xxxx万元，月中需达到xxx万元。
            </p>
        </div>--}}
    </div>
</div>
@include('frontuser.caidan')
<script src="/js/jquery-2.1.4.min.js"></script>
<script src="/addons/jquery-weui-build/js/fastclick.js"></script>
<script src="/js/echarts.min.js"></script>
<script>
    $(function() {
        document.documentElement.style.fontSize = document.documentElement.clientWidth / 7.5 + 'px';
        FastClick.attach(document.body);
    });
</script>
<script src="/addons/jquery-weui-build/js/jquery-weui.min.js"></script>
<script>
    $('.kaohe-item').click(function(){
        $('.front-show-hidden').toggle();
    })
</script>
</body>
</html>